package pl.register.android.database.dao;

import pl.register.android.course.Course;
import pl.register.android.year.Year;

import java.util.List;

/**
 * @author Mateusz Strzelecki
 * @since 2013-04-27
 */
public interface YearDao {

    Year findYearsBy(Long yearId);

    List<Year> findYearsBy(Course course);

    Year insertYear(Year studentYear, Course course);

    Year updateYear(Year studentYear);

}
